﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 返回消息类
    /// </summary>
    public class ReturnMessages
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 自定义内容
        /// </summary>
        public object results { get; set; }
    }
    /// <summary>
    /// 返回消息类(用于分页)
    /// </summary>
    public class ReturnMessages_Page
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 自定义内容
        /// </summary>
        public object rows { get; set; }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int pageindex { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int pages { get; set; }
        /// <summary>
        /// 总条数
        /// </summary>
        public int total { get; set; }
    }
}
